import typescript from "@rollup/plugin-typescript";

export default {
  input: "./src/Vue.ts",
  output: [
    {
      file: "dist/vue.js",
      format: "cjs",
      exports: "auto",
    },
    {
      file: "esm/vue.js",
      format: "esm",
    },
    {
      file: "umd/vue.js",
      format: "umd",
      sourcemap: true,
      name: "Vue",
    },
  ],
  plugins: [typescript({ target: "esnext" })],
};
